package backstage.app.mapper;

 

import org.springframework.stereotype.Repository;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import backstage.app.entity.AdminSys;
 
 

@Repository
public interface AdminSysMapper extends BaseMapper<AdminSys>{
  

    int deleteByPrimaryKey(Integer aid);

    

    int insertSelective(AdminSys adminSys);

    AdminSys selectByUserNameHave(String userName);
    
    AdminSys selectBylogin(String userName,String passWord);

    AdminSys selectByPrimaryKey(Integer aid);

   
    int updateByPrimaryKey(AdminSys adminSys);
}